import 'package:gluz/generated/json/base/json_field.dart';
import 'package:gluz/generated/json/shop_param_entity.g.dart';
import 'dart:convert';
export 'package:gluz/generated/json/shop_param_entity.g.dart';

@JsonSerializable()
class ShopParamEntity {
	int id = 0;
	String productId = '';
	String attrType = '';
	String attrName = '';
	String attrValue = '';
	int sortOrder = 0;

	ShopParamEntity();

	factory ShopParamEntity.fromJson(Map<String, dynamic> json) => $ShopParamEntityFromJson(json);

	Map<String, dynamic> toJson() => $ShopParamEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}